package com.hdyg.sixg.entry;

import java.io.Serializable;
import java.util.List;

/**
 * @author CZB
 * @describe
 * @time 2019/4/22 10:07
 */
public class ManageMoneyBean {

    /**
     * coins : [{"id":"1","en_name":"ETH","balance":"1.0000"},{"id":"2","en_name":"USDT","balance":"660.0000"}]
     * total : 2
     * list : [{"id":"7","type":"ETH","amount":"20.0000","created_at":"2019-04-20 19:22:29"},{"id":"2","type":"USDT","amount":"8000.0000","created_at":"2019-04-18 17:57:18"}]
     */

    private int total;
    private List<CoinsBean> coins;
    private List<ListBean> list;
    private RuleBean rules;

    public RuleBean getRules() {
        return rules;
    }

    public void setRules(RuleBean rules) {
        this.rules = rules;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<CoinsBean> getCoins() {
        return coins;
    }

    public void setCoins(List<CoinsBean> coins) {
        this.coins = coins;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class CoinsBean {
        /**
         * id : 1
         * en_name : ETH
         * balance : 1.0000
         */

        private String id;
        private String en_name;
        private String balance;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getEn_name() {
            return en_name;
        }

        public void setEn_name(String en_name) {
            this.en_name = en_name;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }
    }

    public static class ListBean {
        /**
         * id : 7
         * type : ETH
         * amount : 20.0000
         * created_at : 2019-04-20 19:22:29
         */

        private String id;
        private String type;
        private String amount;
        private String created_at;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }
    }

    public static class RuleBean implements Serializable {
        private String title;
        private String content;
        private String created_at;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }
    }
}
